#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QProcess>
#include <windows.h>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

protected:
     bool eventFilter(QObject *watched, QEvent *event) override;

private slots:
    void on_exitPushButton_clicked();

    void on_loginPushButton_clicked();

    void loginUpdateDateTime();         //更新登录界面时间


    void on_pushButton_clicked();

private:
    Ui::Widget *ui;

    QTimer *loginClockTimer;
    QProcess *keyboardProcess;

    bool keyboardVisible;


};
#endif // WIDGET_H
